package com.lianniu.web.staff.dao;

import com.lianniu.web.product.model.Page;
import com.lianniu.web.product.model.SkuProductVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2017-05-17.
 */
public interface StaffProductDao {

    public List<SkuProductVo> getList(@Param("userId")String userId, @Param("page")Page page);
    public int getListCount(@Param("userId")String userId);

    public int offShelf(@Param("id")String skuId,@Param("userId")String userId);

    public int updateSku(@Param("id")String id, @Param("price")String price,
                         @Param("stock")String stock, @Param("userId")String userId);
}
